package com.hotai.vo.usestudent;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserStudentListPage {
    private Integer id;
    private String name;
    private String zhename;
    private String phone;
    private String iname;
    private Integer status;
    private Integer zhang;
    private Integer type;
    private String img;
    private String ad;
    private String nickname;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //从数据库
    private Date createDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //从数据库
    private Date dengDate;




}
